Skip to content

fix(ico): Better error checking for PNG-in-ICO files#5264

Open
lgritz wants to merge 1 commit into
AcademySoftwareFoundation:mainfrom
lgritz:lg-icopngerr
Open

fix(ico): Better error checking for PNG-in-ICO files#5264
lgritz wants to merge 1 commit into
AcademySoftwareFoundation:mainfrom
lgritz:lg-icopngerr

Conversation

@lgritz

@lgritz lgritz commented Jun 27, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@jessey-git

Copy link
Copy Markdown
Contributor

I'm a little worried about this one. Seems that many programs out there have no issue opening larger .ico files, at least with the few I've tried (and when using the PNG embedding). That probably means there's a de-facto expectation that such things are "supported".

@lgritz

lgritz commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator Author

OK, that's a fair observation. I wasn't aware of that.

I'll give it full PNG limits, then.

Signed-off-by: Larry Gritz <lg@larrygritz.com>
@lgritz lgritz changed the title fix(ico): Better error checking for PNG-in-ICO files, tighten res limits fix(ico): Better error checking for PNG-in-ICO files Jul 1, 2026
@lgritz

lgritz commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator Author

Amended

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants